package com.yl.entity.cdc;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BaseTarget implements Serializable {

    private static final long serialVersionUID = -457566433778417297L;

    // 测点id
    private Integer id;
    // 测点编号
    private String code;
    // 通讯编号(采集id)
    private String serial_number;
    // 所属项目id
    private Integer project_id;
    // 数据间隔，单位毫秒（默认一分钟，即一分钟一个数）
    private Double interval;

}
